@charset "UTF-8";

/* You can add global styles to this file, and also import other style files */
.tool-layout {
  display: flex;
  flex-direction: row;
  background: #e1e6ed;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.tool-layout-main {
  flex: 1 1 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.tool-layout-nav {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.layout-main--header {
  height: 50px;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  box-shadow: 0px 2px 10px 0px rgba(1, 51, 100, 0.1);
  align-items: center;
  justify-content: center;
}

.layout-main--header .btn.f-state-selected {
  color: #fff;
  background-image: linear-gradient(221deg, #3f65ff 0%, #4d9aff 100%);
}

.layout-main--content {
  flex: 1 1 0;
  padding: 14px;
}

.layout-nav--tab {
  width: 50px;
  flex-shrink: 0;
  height: 100%;
  background-image: linear-gradient(135deg, #40465c 0%, #2b3347 99%);
}

.layout-nav--tab ul,
.layout-nav--tab li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.layout-nav--tab .tab--list .tab--item {
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 40px;
  color: #fff;
}

.layout-nav--tab .tab--list .tab--item.active {
  background-image: linear-gradient(221deg, #3f65ff 0%, #4d9aff 100%);
}

.layout-nav--tab .tab--list .tab--item-advanced.active {
  background-image: linear-gradient(-45deg, #ae82ff 0%, #7e7af4 100%);
}

.layout-nav--collapse {
  flex-shrink: 0;
}

.layout-nav--collapse .f-list-nav-in {
  background: #f5f7fa !important;
  box-shadow: rgba(57, 66, 100, 0.1) 6px 0px 8px 0px !important;
  z-index: 100;
}

.layout-nav--editor-container {
  display: flex;
  flex-direction: column;
  width: 0;
  overflow: hidden;
  margin: 0 -18px;
  height: 100%;
}

.layout-nav--editor-container.f-state-expand {
  width: 320px;
  transition: width 0.2s ease-in-out;
  box-shadow: rgba(57, 66, 100, 0.1) 6px 0px 8px 0px !important;
}

.custom-monaco-editor {
  flex: 1 1 0;
  width: 320px;
}

/**
* 定义导航图标
*/
.nav-icon-css,
.nav-icon-detailed,
.nav-icon-rapid {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.nav-icon-css {
  background-image: url("./images/css.svg");
}

.nav-icon-detailed {
  background-image: url("./images/detailed.svg");
}

.nav-icon-rapid {
  background-image: url("./images/rapid.svg");
}

/*覆盖样式*/
.f-list-nav.f-list-nav-left {
  padding-right: 0 !important;
}

.f-sidebar-overlay {
  margin-left: -1px;
}

/*Loading*/
.ng-busy-default-sign {
  background: none;
  box-shadow: none;
}

.ng-busy-default-sign .common-loading--container {
  width: 40px;
  height: 40px;
  display: inline-block;
  margin: 4px;
}

/**
* 编辑器
*/
.tool-editor {
  padding: 0 0 4px;
}

.tool-editor .variables-header {
  font-size: 14px;
  color: #5a5e66;
  line-height: 20px;
  padding: 4px 0 0;
}

.tool-editor .variables-component {
  padding: 6px 0;
}

/*
* 头部位置
*/
.settings-header--container {
  position: relative;
  display: flex;
  padding: 16px 18px 14px 14px;
}

.settings-header--container .download-dropdown--wrapper {
  top: 100%;
  height: 100px;
  left: 20px;
  right: 20px;
  position: absolute;
  background: #fff;
  z-index: 9;
  margin-top: -8px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.settings-header--container .download-dropdown--wrapper .download-dropdown-item .f-icon {
  font-size: 14px;
  margin: 0 6px 0 0;
}

.settings-header--container .download-dropdown--wrapper ul {
  padding: 12px 16px;
}

.settings-header--container .download-dropdown--wrapper .download-dropdown-item {
  list-style: none;
  line-height: 26px;
  cursor: pointer;
}

.settings-header--container .download-dropdown--wrapper .download-dropdown-item:hover {
  text-decoration: underline;
  color: #308aff;
}

.settings-header--container .k-button {
  margin: 0 auto 0 0;
  color: #848c9a;
}

.settings-header--container .btn {
  border-radius: 13px;
  margin: 0 0 0 8px;
}

.settings-header--container .btn-primary {
  box-shadow: 0px 4px 10px 0px rgba(69, 144, 255, 0.3);
  background-image: linear-gradient(221deg, #3f65ff 0%, #4d9aff 100%);
}

/*
* 导航内容区
*/
.layout-nav--collapse .f-list-nav .f-list-nav-main .f-list-nav-content {
  padding: 0 18px;
}

/*组件展示*/
.preview-widget-layout {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 0 16px 20px;
  background: #fff;
}

.preview-widget-layout .preview-widget-layout--container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -14px;
  overflow: auto;
}

.preview-widget-layout .preview-widget-layout--container>* {
  margin-top: 20px;
}

.docs-widget-viewer {
  position: relative;
  border: 1px solid #e6e9f0;
  border-radius: 4px;
  transition: all 0.3s;
  overflow: hidden;
  height: 100%;
}

.docs-widget-viewer .widget-viewer--title {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 2px 8px #f0f1f2;
}

.docs-widget-viewer .widget-viewer--body {
  padding: 20px 15px;
}

.docs-widget-viewer .widget-viewer--body .viewer-des {
  margin: 0 0 6px;
}

.progress-circle-item {
  padding: 8px;
}

.progress-circle-item p {
  margin: 6px 0 0;
}

.f-list-nav .f-list-nav-in {
  width: 320px;
  height: 100%;
  background: #f5f7fa;
  box-shadow: rgba(57, 66, 100, 0.1) 6px 0px 8px 0px;
  z-index: 100;
}

.f-list-nav .f-list-nav-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-x: hidden;
}

.f-list-nav .f-list-nav-main .f-list-nav-content {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  overflow-y: auto;
  padding: 0 18px;
}

/*部分自定义*/
@charset "UTF-8";

/*
* 头部与查询相关
*/
.search-header-container {
  margin: 0 0 0 18px;
  position: relative;
  width: 300px;
  border-bottom: 1px solid #e6e9f0;
  padding: 10px 40px 10px 0;
  overflow: hidden;
}

.search-header-container .search-header--title {
  font-size: 17px;
  color: #5a5e66;
  line-height: 24px;
}

.search-header-container .search-header--menu {
  width: 24px;
  text-align: left;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
}

.search-header-container .search-header--menu .f-icon {
  font-size: 20px;
}

.search-header-container .search-header--icons {
  background: #f5f7fa;
  position: absolute;
  width: 40px;
  text-align: center;
  right: 0px;
  top: 16px;
}

.search-header-container .search-header--icons .search-icon .f-icon {
  cursor: pointer;
}

.search-header-container .search-header--search {
  background: #f5f7fa;
  position: absolute;
  width: 260px;
  left: 300px;
  top: 10px;
  transition: left 200ms;
  display: flex;
  align-items: center;
}

.search-header-container .search-header--search.f-state-expand {
  left: 0;
  right: auto;
}

.search-header-container .search-header--search .form-control {
  border: none;
  background: transparent;
  box-shadow: none;
}

.search-header-container .search-header--search .search-icon {
  color: #2a87ff;
  margin: 0 4px 0 0;
}

/*
* 快速查询
*/
.settings-group {
  padding: 16px 0 0px;
}

.settings-group .group-header {
  padding: 0px 0 8px;
}

.settings-group .group-header:hover .group-header--icon {
  color: #2a87ff;
}

.settings-group .group-header .group-header--text {
  font-size: 16px;
  color: #848c9a;
}

.settings-group .group-header .group-header--icon {
  margin: 0 0 0 6px;
  color: #848c9a;
  transition: all 0.2s linear;
  display: inline-block;
}

.settings-group .group-header .group-header--icon .f-icon {
  font-size: 12px;
}

.settings-group .group-header .group-header--icon.f-state-expand {
  color: #2a87ff;
  transform: rotateZ(180deg);
}

.settings-group .group-items {
  padding: 6px 0;
}

/*
*颜色列表
*/
.rapid-settings--theme-color-list {
  padding: 0;
  margin: 0 -11px 0 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.rapid-settings--theme-color-list li {
  list-style: none;
  position: relative;
  margin: 0 11px 0 0;
}

.rapid-settings--theme-color-list li .f-icon {
  display: none;
}

.rapid-settings--theme-color-list li.f-state-selected .f-icon {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  font-size: 14px;
  margin: -7px 0 0 -7px;
}

.rapid-settings--theme-color-list li:hover {
  cursor: pointer;
}

.rapid-settings--theme-color-list .color-item {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  box-shadow: 0px 2px 5px 0px rgba(3, 18, 51, 0.16);
}

.rapid-settings--theme-color-list .color-default {
  background-image: linear-gradient(-51deg, #2a87ff 0%, #328bff 100%);
}

.rapid-settings--theme-color-list .color-green {
  background: #17c2c2;
}

.rapid-settings--theme-color-list .color-red {
  background: #ee222c;
}

/*
*密度列表
*/
.rapid-settings--theme-density-list {
  padding: 0;
  margin: 0 -18px 0 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.rapid-settings--theme-density-list li {
  list-style: none;
  margin: 0 21px 0 0;
  text-align: center;
}

.rapid-settings--theme-density-list li:hover {
  cursor: pointer;
}

.rapid-settings--theme-density-list li .density-item {
  position: relative;
  margin: 0 0 16px;
  box-shadow: 0px 2px 7px 0px rgba(1, 51, 100, 0.1);
  border-radius: 4px;
}

.rapid-settings--theme-density-list li .density-item .desity-imgcontainer {
  display: block;
  width: 56px;
  height: 42px;
  background: url("./images/size-s.svg") no-repeat;
}

.rapid-settings--theme-density-list li .density-item .desity-icon-wrapper {
  display: none;
  width: 16px;
  height: 16px;
  text-align: center;
  border-radius: 8px;
  background-image: linear-gradient(221deg, #3f65ff 0%, #4d9aff 100%);
  border: 1px solid #fff;
  box-shadow: 0px 4px 10px 0px rgba(69, 144, 255, 0.3);
}

.rapid-settings--theme-density-list li .density-item .desity-icon-wrapper .f-icon {
  font-size: 12px;
}

.rapid-settings--theme-density-list li .density-item.f-state-selected .desity-icon-wrapper {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0 -4px -4px 0;
  color: #fff;
}

.rapid-settings--theme-density-list li .density-item.density-loose .desity-imgcontainer {
  background: url("./images/size-l.svg") no-repeat;
}

.rapid-settings--theme-density-list li .density-text {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
}

/* 编辑器*/
.tool-editor .color-picker-trigger {
  margin: 0 0 0 8px;
  background: #fff;
  border: 1px solid #e6e9f0 !important;
  border-radius: 4px;
}

.tool-editor .color-picker-trigger .color-picker-trigger-inner {
  border-color: #fff !important;
}